package demo1.dao.mapper;

import org.springframework.jdbc.core.RowMapper;
import org.springframework.lang.Nullable;

import java.sql.ResultSet;
import java.sql.SQLException;

public class Rm implements RowMapper<Double> {
    @Nullable
    @Override
    public Double mapRow(ResultSet rs, int i) throws SQLException {
        return rs.getDouble("money");
    }
}
